package com.ms.game.bank.db;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.ms.game.bank.VipChangeWay;
import com.ms.player.PlayerUserType;
import com.xpec.c4.db.model.log.basic.BasicTransactionLogModel;

@Entity
@Table(name="vip_exp_log")
public class VipLogModel extends BasicTransactionLogModel {
	
	private static final long serialVersionUID = -8265490401391233987L;

	/** account guid */
	private String accountId;

	/** player guid */
	private String playerId;

	/** player name */
	private String playerName;

	/**
	 * 使用者類型 {@link PlayerUserType}
	 */
	private int userType;

	/** 經驗 異動數值 */
	private long expChangeValue;

	/** 經驗 異動前數值 */
	private long expBeforeChange;

	/** 經驗 變更後數值 */
	private long expAfterChange;
	
	/** vip等級 異動前數值 */
	private long vipBefore;

	/** vip等級 變更後數值 */
	private long vipAfter;

	/** 行為id {@link VipChangeWay} */
	private int changeWay;

	/** 行為說明 */
	private String changeWayDesc;

	public String getAccountId() {
		return accountId;
	}

	public String getPlayerId() {
		return playerId;
	}

	public String getPlayerName() {
		return playerName;
	}

	public long getExpChangeValue() {
		return expChangeValue;
	}

	public long getExpBeforeChange() {
		return expBeforeChange;
	}

	public long getExpAfterChange() {
		return expAfterChange;
	}

	public long getVipBefore() {
		return vipBefore;
	}

	public long getVipAfter() {
		return vipAfter;
	}

	public int getChangeWay() {
		return changeWay;
	}

	public String getChangeWayDesc() {
		return changeWayDesc;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	public void setPlayerId(String playerId) {
		this.playerId = playerId;
	}

	public void setPlayerName(String playerName) {
		this.playerName = playerName;
	}

	public void setExpChangeValue(long expChangeValue) {
		this.expChangeValue = expChangeValue;
	}

	public void setExpBeforeChange(long expBeforeChange) {
		this.expBeforeChange = expBeforeChange;
	}

	public void setExpAfterChange(long expAfterChange) {
		this.expAfterChange = expAfterChange;
	}

	public void setVipBefore(long vipBefore) {
		this.vipBefore = vipBefore;
	}

	public void setVipAfter(long vipAfter) {
		this.vipAfter = vipAfter;
	}

	public void setChangeWay(int changeWay) {
		this.changeWay = changeWay;
	}

	public void setChangeWayDesc(String changeWayDesc) {
		this.changeWayDesc = changeWayDesc;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

}
